﻿namespace MicroCloud.Systems
{
    public interface IFileSaveRecordStore<TFileSaveRecord> where TFileSaveRecord : class
    {
        OperationResult AddSaveRecord(TFileSaveRecord entity);

        Task<OperationResult> AddSaveRecordAsync(TFileSaveRecord entity, CancellationToken cancellationToken = new CancellationToken());
    }
}